<?php

     define('ACC',true);
     include('../include/init.php');

     $goods_id = $_GET['goods_id'];

     //获取单个栏目的商品详情
     $goods = new goodModel();
     $dataDetail = $goods->getoneGoods($goods_id);

     //获取面包屑导航，也就是 栏目的层级结构， 找家谱树
      $cat = new catModel();
      $parenTree = array_reverse($cat->getparent($dataDetail['cat_id']));

//      print_r(array_reverse($parenTree));


     include('../view/front/shangpin.html');


?>